import { FaDiscord } from "react-icons/fa";
import { HiCodeBracket, HiOutlineNewspaper } from "react-icons/hi2";
import { FiUploadCloud, FiServer, FiTerminal } from "react-icons/fi";
import Admonition from "@theme/Admonition";
import ThemedImage from "@theme/ThemedImage";
import Card from "@site/src/components/card";

# Getting Started

## What is Touca

Touca gives fast feedback about the unintended side-effects of your day to day
code changes. It continuously checks if your software works as well as before to
increase your confidence and improve your productivity. We remotely compare the
behavior and performance of your software workflows for a variety of inputs
against a previous trusted version and report differences in near real-time to
help you fix regressions before they become costly.

<ThemedImage
  sources={{
    light: "https://touca.io/docs/external/assets/touca-suite-page.light.png",
    dark: "https://touca.io/docs/external/assets/touca-suite-page.dark.png"
  }}
/>

<Admonition type="info" icon="⚡️" title="Open Source">
  <p>
    Touca is available under the Apache-2.0 license.{" "}
    <a href="https://github.com/trytouca/trytouca">Give us a ⭐️ on GitHub.</a>
  </p>
</Admonition>

## Touca Server

<Card.TwoColumnLayout>
  <Card
    label="Sign-up"
    href="https://app.touca.io/account/signup"
    icon={FiUploadCloud}
  >
    Create an account on our managed cloud instance.
  </Card>
  <Card label="Self-host" href="/docs/server/self-hosting" icon={FiServer}>
    Install Touca server on your own machine.
  </Card>
</Card.TwoColumnLayout>

## Touca SDKs

<Card.FourColumnLayout>
  <Card
    label="Python"
    href="/docs/sdk/main-api/?sdk=python"
    icon={FiTerminal}
  ></Card>
  <Card
    label="C++"
    href="/docs/sdk/main-api/?sdk=cpp"
    icon={HiCodeBracket}
  ></Card>
  <Card
    label="Java"
    href="/docs/sdk/main-api/?sdk=java"
    icon={HiCodeBracket}
  ></Card>
  <Card
    label="JavaScript"
    href="/docs/sdk/main-api/?sdk=js"
    icon={HiCodeBracket}
  ></Card>
</Card.FourColumnLayout>

## Community

<Card.TwoColumnLayout>
  <Card label="Discord" href="https://touca.io/discord" icon={FaDiscord}></Card>
  <Card
    label="Newsletter"
    href="https://touca.io/blog"
    icon={HiOutlineNewspaper}
  ></Card>
</Card.TwoColumnLayout>
